{extend name="common/base"/}
<!-- 主体 -->
{block name="body"}
<div class="layui-form p-4">
	<h3 class="pb-3">积分订单详情</h3>
	<table class="layui-table layui-table-form">
		<tr>
			<td class="layui-td-gray-2">用户ID</td>
			<td>{$detail.uid}</td>
			<td class="layui-td-gray-2">订单号</td>
			<td>{$detail.order_no}</td>
		</tr>
		<tr>
			<td class="layui-td-gray-2">商品信息</td>
			<td>
				<div>商品图片: <a href="{$detail.goods_info.thumb}" target="_blank">
					<img style="width: 100px" src="{$detail.goods_info.thumb}" alt=""></a></div>
				<div>商品名称:{$detail.goods_info.title}</div>
				<div>商品积分:{$detail.goods_info.price}</div>
			</td>
		</tr>
		<tr>
			<td class="layui-td-gray-2">支付积分</td>
			<td>{$detail.amount}</td>
			<td class="layui-td-gray-2">买家备注</td>
			<td>{$detail.remark}</td>
		</tr>
		<tr>
			<td class="layui-td-gray-2">下单时间</td>
			<td>{$detail.create_time}</td>
		</tr>
		<tr>
			<td class="layui-td-gray-2">运费</td>
			<td>{$detail.yun}</td>
			<td class="layui-td-gray-2">状态</td>
			<td>
				{eq name="$detail.status" value="1"}待发货{/eq}
				{eq name="$detail.status" value="2"}已完成{/eq}
			</td>
		</tr>
		<tr>
			<td class="layui-td-gray-2">收货地址</td>
			<td>
				{notempty name="$detail.address"}
				{$detail.address.user_name}/{$detail.address.mobile}/{$detail.address.region}{$detail.address.address}
				{/notempty}
			</td>
		</tr>
		{eq name="$detail.is_send" value="1"}
		<tr>
			<td class="layui-td-gray-2">快递</td>
			<td>{$detail.express}</td>
			<td class="layui-td-gray-2">快递单号</td>
			<td>{$detail.express_num}</td>
		</tr>
		<tr>
			<td class="layui-td-gray-2">发货时间</td>
			<td>{$detail.send_time}</td>
		</tr>
		{/eq}

	</table>
</div>
{/block}
<!-- /主体 -->